package com.retail.member.client;

import com.retail.core.entity.result.Result;
import com.retail.member.entity.vo.RetailMultiShopResVo;
import com.retail.member.entity.vo.RetailShopResVo;
import com.retail.shop.entity.vo.RetailShopVo;

import java.util.List;

public interface ShopClient {

    /**
     * 得到用户名下商户
     * @param adminId
     * @return
     */
    Result<List<RetailShopVo>> findOwnerShopByAdminId(String adminId);

    /**
     * 商户列表
     * @param adminId
     * @return
     */
    Result<List<RetailMultiShopResVo>> shopList(Long adminId);

    /**
     * 商户详情
     * @param shopId
     * @return
     */
    Result<RetailShopResVo> shopDetail(Long shopId);

    Result<List<RetailShopVo>> myShopList(Long adminId, String search);

    /**
     * to be
     * @return
     */
    Result<List<RetailShopVo>> toBeBindShop();


    Result<Integer> bindShop(Long adminId, Long shopId);

    Result<List<RetailShopVo>> getOfflineAllShopList(String search, String city);

}
